package com.kingdee.eas.custom.demotest;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class TestCRUDFactory
{
    private TestCRUDFactory()
    {
    }
    public static com.kingdee.eas.custom.demotest.ITestCRUD getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.demotest.ITestCRUD)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("8046BB7E") ,com.kingdee.eas.custom.demotest.ITestCRUD.class);
    }
    
    public static com.kingdee.eas.custom.demotest.ITestCRUD getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.demotest.ITestCRUD)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("8046BB7E") ,com.kingdee.eas.custom.demotest.ITestCRUD.class, objectCtx);
    }
    public static com.kingdee.eas.custom.demotest.ITestCRUD getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.demotest.ITestCRUD)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("8046BB7E"));
    }
    public static com.kingdee.eas.custom.demotest.ITestCRUD getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.demotest.ITestCRUD)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("8046BB7E"));
    }
}